package com.zhang.zxx.boot.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * MyKnife4jProperties:把一些配置信息抽取到配置文件,可以继续扩展[@RefreshScope是spring cloud才会用到]
 *
 * @author zhangxiaoxiang
 * @date 2021/11/20
 */
@Data
@Component
@ConfigurationProperties(prefix = "myknife4j")
public class MyKnife4jProperties {
    private String title;
    private String description;
    private String name;
    private String url;
    private String email;
    private String groupName;
    private String basePackage;
    private String version;
}
